package com.buss.article.trans.form;

import org.jweb.core.bean.SearchForm;
import org.jweb.core.bean.annotation.Mapping;
import org.jweb.core.query.annotation.QueryStrategy;

import com.buss.common.entity.HxArticle;

@Mapping(entityClass=HxArticle.class)
public class ArticleSearchForm extends SearchForm{
	
	@Mapping("id")
	private String id;
	
	@Mapping("cid")
	private String cid;
	
	@Mapping("status")
	private String status;
	
	@Mapping("title")
	@QueryStrategy
	private String title;
	
	@Mapping("summary")
	@QueryStrategy
	private String summary;
	
	@Mapping("source")
	private String source;
	
	
	public String getCid() {
		return cid;
	}
	public void setCid(String cid) {
		this.cid = cid;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	
	
}
